
import LoginUser from '@model/entity/LoginUser/LoginUser'

/** 
 * @description 是否为超级管理员
*/
function isSuperAdmin(user: LoginUser): boolean {
  return user?.superAdmin == 2
}

export {
  isSuperAdmin
}

export default {
  isSuperAdmin
}